package org.summer.lawyer.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.summer.common.mybatis.core.mapper.BaseMapperPlus;
import org.summer.lawyer.domain.BrokerageRecord;
import org.summer.lawyer.domain.bo.brokeragerecord.BrokerageRecordBo;
import org.summer.lawyer.domain.vo.brokeragerecord.BrokerageRecordVo;

import java.util.List;

/**
 * 佣金记录Mapper接口
 *
 * @author summer
 * @date 2024-06-25
 */
@Mapper
public interface BrokerageRecordMapper extends BaseMapperPlus<BrokerageRecord, BrokerageRecordVo> {


    Page<BrokerageRecordVo> selectPageList(@Param("page") Page<BrokerageRecordVo> page, @Param(Constants.WRAPPER) Wrapper<BrokerageRecordBo> queryWrapper);

    List<BrokerageRecordVo> selectBrokerageRecordVoList(@Param(Constants.WRAPPER) Wrapper<BrokerageRecordBo> queryWrapper);
}
